package com.base.test.rabbitmq.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.base.commons.tools.page.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;


/**
 * mq消费者分页入参
 * @author wangwneji
 * @since 2020-10-14
 */
@Data
@ApiModel(value = "mq消费者分页入参")
public class MqReceivePageReq extends PageReq implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "消息ID")
	@JsonProperty("msg_id")
	private String msgId;

	@ApiModelProperty(value = "队列")
	@JsonProperty("queue")
	private String queue;

	@ApiModelProperty(value = "消息内容json格式")
	@JsonProperty("msg_json")
	private String msgJson;

	@ApiModelProperty(value = "服务名 fbg-base-server,bms-cos-server")
	@JsonProperty("service_name")
	private String serviceName;

	@ApiModelProperty(value = "应用代码 BSC,FMS,OWMS")
	@JsonProperty("app_code")
	private String appCode;

	@ApiModelProperty(value = "业务场景")
	@JsonProperty("business_type")
	private String businessType;

	@ApiModelProperty(value = "状态 1：待定 2：失败 3：成功")
	@JsonProperty("status")
	private Integer status;

	@ApiModelProperty(value = "创建起始时间")
	@JsonProperty("create_start_time")
	private Date createStartTime;

	@ApiModelProperty(value = "创建截止时间")
	@JsonProperty("create_end_time")
	private Date createEndTime;

}